﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="yonghu_person_info.aspx.cs"
    Inherits="secondhand.L4view.yonghu_person_info" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
ul{list-style:none;margin:0px;padding:0px;}
li{list-style:none;margin:0px;padding:0px;}

ul{margin-top:50px;}
ul li{margin-top:10px;}
ul li span{display:block;width:127px;cursor:pointer;height:26px;color:#000000;text-align:left;text-indent:10px;line-height:26px;background-image:url(../images/lm_bg.gif)}
ul li a{display:block;width:127px;cursor:pointer;height:26px;color:#000000;text-align:left;text-indent:10px;line-height:26px;background-image:url(../images/lm_bg.gif)}

div#sub_menu_field{position:absolute;left:0px;top:0px;width:90px;display:none;background-color:#FFFFFF;;border:1px solid #CCCCCC;}
div#sub_menu_field a{border-bottom:1px solid #AAAAAA;clear:both;line-height:25px;display:block;text-indent:10px;text-align:left;color:#000000;white-space:nowrap;}
div#sub_menu_field a:hover{color:#FF0000;background-color:#FFCC99;}
</style>
    <div style="position: absolute; top: 114px; left: 605px;">
        <span onmouseover="show_sub_menu(this, 0);" onmouseout="hide_sub_menu();" 
            style="color: #006666">个人中心</span>
    </div>
    <div id="sub_menu_field" onmouseover="show_sub_menu(this, -1);" 
        onmouseout="hide_sub_menu();" style="font-size: small">
    </div>
    <script language="javascript">
        var sub_menu = new Array();
        var i = 0;
        sub_menu[i++] = new Array(
 new Array('用户名修改', 'yonghu_alert_name.aspx?SectionID=20'),
 new Array('邮箱修改', 'yonghu_alert_email.aspx?SectionID=21'),
 new Array('密码修改', 'yonghu_alert_info.aspx?SectionID=22'),
 new Array('号码修改', 'yonghu_alert_phone.aspx?SectionID=22')
);
        var hd = null;

        function show_sub_menu(obj, key) {
            window.clearTimeout(hd);
            if (key > sub_menu.length - 1 || key < 0) return;
            var s = document.getElementById("sub_menu_field");
            if (!s) return;
            var x = get_pos(obj, "Left");
            var y = get_pos(obj, "Top");
            try {
                s.style.display = 'block';
                s.style.left = (x - 13) + "px";
                s.style.top = (y + 22) + "px";
            }
            catch (e) {
                s.display = 'block';
                s.left = (x + 100) + "px";
                s.top = y + "px";
            }
            s.innerHTML = '';
            for (var i = 0; i < sub_menu[key].length; i++) {
                s.innerHTML += '<a href="' + sub_menu[key][i][1] + '">' + sub_menu[key][i][0] + '</a>'
            }
        }
        function get_pos(el, sProp) {
            var iPos = 0;
            while (el) {
                iPos += el["offset" + sProp];
                el = el.offsetParent;
            }
            return iPos;
        }
        function hide_sub_menu() {
            hd = window.setTimeout("hid()", 100);
        }
        function hid() {
            var s = document.getElementById("sub_menu_field");
            if (!s) return;
            s.innerHTML = '';
            try {
                s.style.display = 'none';
            }
            catch (e) {
                s.display = 'none';
            }
        }
    </script>
</head>
<body style="height: 249px; width: 1330px;">
    <form id="form1" runat="server" style="width: 1330px; height: 1544px;">
    <div style="border-bottom: 2px solid #FF6600; height: 135px; width: 1330px; border-left-color: #FF6600;
        border-left-width: 2px; border-right-color: #FF6600; border-right-width: 2px;
        border-top-color: #FF6600; border-top-width: 2px;">
        <div style="position: absolute; top: 114px; left: 1107px; width: 36px;">
            <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="~/L4view/yonghu/yonghu_withdraw.aspx"
                Font-Underline="False" ForeColor="#006666" Font-Size="Medium">提现</asp:HyperLink>
        </div>
        <div style="position: absolute; top: 114px; left: 955px; width: 35px;">
            <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/L4view/yonghu/yonghu_recharge.aspx"
                Font-Underline="False" ForeColor="#006666" Font-Size="Medium">充值</asp:HyperLink>
        </div>
        <div style="position: absolute; top: 114px; left: 1232px;">
            <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/L4view/yonghu/yonghu_login.aspx"
                Font-Underline="False" ForeColor="#006666" Font-Size="Medium">退出登录</asp:HyperLink>
        </div>
        <div style="position: absolute; top: 114px; left: 787px; width: 35px;">
            <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/L4view/yonghu/yonghu_buy_list.aspx"
                Font-Underline="False" ForeColor="#006666" Font-Size="Medium">账单</asp:HyperLink>
        </div>
        <div style="position: absolute; top: 190px; left: 50px;">
            <asp:Label ID="Label4" runat="server" Text="按商品名查询：" ForeColor="Black"></asp:Label>
        </div>
        <div style="position: absolute; top: 190px; left: 186px;">
            <asp:TextBox ID="TextBox1" runat="server" ForeColor="#68ADE0" Font-Size="Small" Width="182px"
                Height="19px" BorderStyle="Solid" BorderWidth="1px"></asp:TextBox>
        </div>
        <div style="position: absolute; top: 190px; left: 413px;">
            <asp:Button ID="Button1" runat="server" Text="确定" BackColor="#FFFFB0" onmouseover="this.style.backgroundColor='#ACFFAC'"
                onmouseout="this.style.backgroundColor='#FFFFB0'" ForeColor="Black" OnClick="Button1_Click"
                Width="78px" BorderColor="#68ADE0" BorderStyle="Solid" BorderWidth="1px" 
                Height="19px" />
        </div>
        <div style="position: absolute; top: 45px; left: 26px; width: 130px; height: 62px;">
            <asp:Image ID="Image2" runat="server" Height="59px" 
                ImageUrl="~/images/logo.png" Width="128px" />
        </div>
    </div>
    <div style="position: absolute; top: 190px; left: 700px;">
        <asp:Label ID="Label3" runat="server" Text="按商品类型查询:" ForeColor="Black"></asp:Label>
    </div>
    <div style="position: absolute; top: 189px; left: 845px;">
        <asp:TextBox ID="TextBox3" runat="server" Width="182px" BorderColor="#68ADE0" BorderStyle="Solid"
            BorderWidth="1px" Height="19px"></asp:TextBox>
    </div>
    <div style="position: absolute; top: 190px; left: 1074px; height: 19px; width: 77px;">
        <asp:Button ID="Button2" runat="server" Text="确定" BackColor="#FFFFB0" onmouseover="this.style.backgroundColor='#ACFFAC'"
            onmouseout="this.style.backgroundColor='#FFFFB0'" ForeColor="Black" OnClick="Button2_Click"
            Width="77px" BorderColor="#68ADE0" BorderStyle="Solid" BorderWidth="1px" 
            Height="19px" />
    </div>
    </br>
    <div style="position: absolute; top: 240px; left: 50px;">
        <asp:Label ID="Label5" runat="server" Text="按商品价格查询:" ForeColor="Black"></asp:Label>
    </div>
    <div style="position: absolute; top: 239px; left: 186px; margin-top: 0px;">
        <asp:TextBox ID="TextBox2w" runat="server" ForeColor="Blue" Font-Size="Small" Width="182px"
            BorderColor="#68ADE0" BorderStyle="Solid" BorderWidth="1px" Height="19px"></asp:TextBox>
    </div>
    <div style="position: absolute; top: 240px; left: 413px;">
        <asp:Button ID="Button3" runat="server" Text="确定" BackColor="#FFFFB0" onmouseover="this.style.backgroundColor='#ACFFAC'"
            onmouseout="this.style.backgroundColor='#FFFFB0'" ForeColor="Black" OnClick="Button3_Click"
            Width="77px" BorderColor="#68ADE0" BorderStyle="Solid" BorderWidth="1px" 
            Height="19px" />
    </div>
    <br />
    </br>
    <div style="position: absolute; top: 240px; left: 700px; margin-top: 4px;">
        <asp:Label ID="Label1" runat="server" Text="按卖家姓名查询:" ForeColor="Black"></asp:Label>
    </div>
    <div style="position: absolute; top: 242px; left: 845px;">
        <asp:TextBox ID="TextBox2" runat="server" ForeColor="Blue" Font-Size="Small" Width="182px"
            BorderColor="#68ADE0" BorderStyle="Solid" BorderWidth="1px" Height="19px"></asp:TextBox>
    </div>
    <div style="position: absolute; top: 240px; left: 1074px;">
        <asp:Button ID="Button4" runat="server" Text="确定" BackColor="#FFFFB0" onmouseover="this.style.backgroundColor='#ACFFAC'"
            onmouseout="this.style.backgroundColor='#FFFFB0'" ForeColor="Black" OnClick="Button4_Click"
            Width="77px" BorderColor="#68ADE0" BorderStyle="Solid" BorderWidth="1px" 
            Height="19px" />
    </div>
    <br />
    <br />
    <div style="position: absolute; top: 344px; left: 601px;">
        <asp:Label ID="Label2" runat="server" Text="没有商品！" Visible="False"></asp:Label>
    </div>
    <br />
    </br>
    <div id="xijie" runat="server" style="position: absolute; top: 335px; left: 230px;
        margin-top: 11px; height: 1042px;">
        </br>
        <asp:GridView ID="GridView1" runat="server" OnRowDataBound="GridView1_RowDataBound"
            AutoGenerateColumns="False" BackColor="White" BorderStyle="None" AllowPaging="True"
            Width="813px" GridLines="None" BorderColor="White" BorderWidth="0px" CellPadding="4"
            OnSelectedIndexChanged="GridView1_SelectedIndexChanged1" Height="49px">
            <Columns>
                <asp:BoundField DataField="goods_name" HeaderText="商品名" SortExpression="goods_name" />
                <asp:TemplateField HeaderText="商品图片">
                    <ItemTemplate>
                        <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("goods_picture") %>' Width="90"
                            Height="90" ImageAlign="Middle" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="goods_type" HeaderText="商品类型" SortExpression="goods_type" />
                <asp:BoundField DataField="goods_price" HeaderText="商品价格" SortExpression="goods_price" />
                <asp:BoundField DataField="goods_describe" HeaderText="商品描述" SortExpression="goods_describe" />
                <asp:BoundField DataField="sale_time" HeaderText="上架时间" SortExpression="sale_time" />
                <asp:BoundField DataField="saler_name" HeaderText="出售人" SortExpression="saler_name" />
                <asp:TemplateField HeaderText="购买" ItemStyle-Width="40" ItemStyle-HorizontalAlign="Center">
                    <ItemTemplate>
                        <asp:LinkButton runat="server" ID="lbtnUp" CommandArgument='<%#Eval("goods_name") %>'
                            OnClick="lbtnUp_Click">进入</asp:LinkButton>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" Width="40px"></ItemStyle>
                </asp:TemplateField>
            </Columns>
            <FooterStyle BackColor="White" ForeColor="#333333" />
            <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="White" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F7F7F7" />
            <SortedAscendingHeaderStyle BackColor="#487575" />
            <SortedDescendingCellStyle BackColor="#E5E5E5" />
            <SortedDescendingHeaderStyle BackColor="#275353" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OnSelecting="ObjectDataSource1_Selecting"
            SelectMethod="GetmarkAll" TypeName="secondhand.L2busslogic.goodsBL">
            <SelectParameters>
                <asp:Parameter Name="nameq" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
        </br> </br>
    </div>
    <div align="center" style="width: 1103px; height: 88px; background-color: #DEE1B7;
        position: relative; top: 1117px; left: 99px;">
        <div style="position: absolute; top: 13px; left: 524px; width: 143px;">
            <asp:Label ID="Label10" runat="server" Font-Size="Small" ForeColor="#006666" 
                style="font-size: 11pt" Text="二手交易版权所有"></asp:Label>
        </div>
        <div style="position: absolute; top: 52px; left: 266px; width: 659px;">
            <asp:Label ID="Label12" runat="server" ForeColor="#006666" 
                style="font-size: 11pt" 
                Text="开发团队： Fantast    地址：重庆市北碚区天生路2号    邮编:400715  （渝ICP备  06005063号）"></asp:Label>
        </div>
    </div>
    </div>
    </form>
</body>
</html>
